package cn.snow.iot.module.warning.controller.admin.rule.vo;

import cn.snow.iot.framework.common.pojo.PageParam;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WarningRuleVO extends PageParam {

    /**
     * 主键
     */
    @TableId("id")
    private Long id;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 规则类型
     */
    private String ruleType;


    /**
     * 处理类型
     */
    private String processingType;

    /**
     * 规则条件
     */
    private String ruleCondition;

    /**
     * 规则表达式
     */
    private String ruleExpression;

    /**
     * 规则sql
     */
    private String ruleSql;

    /**
     * 条件类型
     */
    private Integer conditionType;

    /**
     * 规则参数（阈值）
     */
    private String ruleThreshold;

}
